package com.xyz.entity.mapper;

import com.xyz.entity.pojo.PatrolPlan;
import com.xyz.entity.pojo.PatrolPlanExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PatrolPlanMapper {
    long countByExample(PatrolPlanExample example);

    int deleteByExample(PatrolPlanExample example);

    int deleteByPrimaryKey(Long id);

    int insert(PatrolPlan record);

    int insertSelective(PatrolPlan record);

    List<PatrolPlan> selectByExample(PatrolPlanExample example);

    PatrolPlan selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") PatrolPlan record, @Param("example") PatrolPlanExample example);

    int updateByExample(@Param("record") PatrolPlan record, @Param("example") PatrolPlanExample example);

    int updateByPrimaryKeySelective(PatrolPlan record);

    int updateByPrimaryKey(PatrolPlan record);
}